const allRoutes = [{
        path: "welcome",
        component: () =>
            import ( /*webpackChunkName:"welcome" */ "../pages/Home/Welcome"),
        name: "welcome",
        meta: {
            //储存一些属性
            fullPath: "/welcome",
            icon: "iconfont iconshouye",
            name: "管理首页"
        }
    },
    {
        path: "studentManager",
        component: () =>
            import ( /*webpackChunkName:"studentManager" */ "../pages/Home/StudentManager"),
        name: "studentManager",
        redirect: "/studentManager/studentProduct",
        meta: {
            //储存一些属性
            fullPath: "/studentManager",
            icon: "iconfont iconxueyuanguanli",
            name: "学员管理"
        },
        children: [{
                path: "studentDormitory",
                component: () =>
                    import ( /*webpackChunkName:"studentDormitory" */ "../pages/Home/StudentManager/StudentDormitory"),
                name: "studentDormitory",
                meta: {
                    //储存一些属性
                    fullPath: "/studentManager/studentDormitory", //高亮 递归也要有问题 default
                    icon: "iconfont iconsushe",
                    name: "学员宿舍"
                }
            },
            {
                path: "studentProduct",
                component: () =>
                    import ( /*webpackChunkName:"studentProduct*/ "../pages/Home/StudentManager/StudentProduct"),
                name: "/studentManager/studentProduct",
                meta: {
                    //储存一些属性
                    fullPath: "/studentManager/studentProduct",
                    icon: "iconfont iconproject",
                    name: "学员项目管理"
                }
            },
            {
                path: "studentProfile",
                component: () =>
                    import ( /*webpackChunkName:"studentProfile*/ "../pages/Home/StudentManager/StudentProfile"),
                name: "studentProfile",
                meta: {
                    //储存一些属性
                    fullPath: "/studentManager/studentProfile",
                    icon: "iconfont iconziliao",
                    name: "学员资料"
                }
            },
        ]

    },
    {
        path: "user",
        component: () =>
            import ( /*webpackChunkName:"user*/ "../pages/Home/User"),
        name: "user",
        meta: {
            //储存一些属性
            fullPath: "/user",
            icon: "iconfont iconwode",
            name: "用户管理"
        }
    },
    {
        path: "attendance",
        component: () =>
            import ( /*webpackChunkName:"attendance*/ "../pages/Home/Attendance"),
        name: "attendance",
        meta: {
            //储存一些属性
            fullPath: "/attendance",
            icon: "iconfont iconkaoqin",
            name: "考勤管理"
        }
    },
    {
        path: "mine",
        component: () =>
            import ( /*webpackChunkName:"mine*/ "../pages/Home/Mine"),
        name: "mine",
        meta: {
            //储存一些属性
            fullPath: "/mine",
            icon: "iconfont iconwode",
            name: "我的中心"
        }
    },
    {
        path: "statistics",
        component: () =>
            import ( /*webpackChunkName:"statistics*/ "../pages/Home/Statistics"),
        name: "statistics",
        meta: {
            //储存一些属性
            fullPath: "/statistics",
            icon: "iconfont iconshujutongji",
            name: "数据统计"
        }
    },
]

export default allRoutes